package cn.kgc.rediscache.service;

import cn.kgc.rediscache.pojo.Employee;

public interface EmployeeService {
    public Employee getEmp(Integer id) throws InterruptedException;

    public Employee updateEmp(Employee employee);

    public void deleteEmp(Integer id);

    public Employee getEmpByLastName(String lastName);

    public Employee insertEmp(Employee employee);
}
